<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加，删除测试</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">添加，删除测试</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>http://192.168.0.89:8080/portal/site/87b473b8-8825-4cfc-8062-c952f91aec4b</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Discussion 1 SMPL202 Summer 2007 : 主页</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//li[8]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>assertTitle</td>
	<td>Sakai Based Service : Discussion 1 SMPL202 Summer 2007 : Tests & Quizzes</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>authorIndexForm:assessmentTemplate</td>
	<td>label=Quiz</td>
</tr>
<tr>
	<td>type</td>
	<td>authorIndexForm:title</td>
	<td>english2</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>authorIndexForm:_id26</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>assesssmentForm:addPart</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>modifyPartForm:title</td>
	<td>reading part</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>document.forms[0].elements['modifyPartForm:_id60'][1]</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>modifyPartForm:assignToPool</td>
	<td>label=reading(1)</td>
</tr>
<tr>
	<td>type</td>
	<td>modifyPartForm:numSelected</td>
	<td>1</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>modifyPartForm:_id60</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>document.forms[0].elements['modifyPartForm:_id60'][1]</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>modifyPartForm:_id81</td>
	<td></td>
</tr>
<tr>
	<td>selectAndWait</td>
	<td>assesssmentForm:parts:0:changeQType</td>
	<td>label=填空</td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:answerptr</td>
	<td>10</td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:_id67_textinput</td>
	<td>Roses are {red} and violets are {blue}.</td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:_id138_textinput</td>
	<td>empty</td>
</tr>
<tr>
	<td>type</td>
	<td>itemForm:_id141_textinput</td>
	<td>empty</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>itemForm:_id152</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>assesssmentForm:parts:0:parts:0:deleteitem</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>_id1:_id4</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>assesssmentForm:parts:1:editPart</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>modifyPartForm:_id10_textinput</td>
	<td>reading</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>modifyPartForm:_id81</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=预览测验</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>takeAssessmentForm:_id5</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>assesssmentForm:editAssessmentSettings</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//h4[@onclick="javascript:showHideDiv('assessmentSettingsAction:_id204', '/samigo');"]</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>document.forms[0].elements['assessmentSettingsAction:feedbackDelivery'][1]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//h4[@onclick="javascript:showHideDiv('assessmentSettingsAction:_id89', '/samigo');"]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>_datePickerPop_assessmentSettingsAction:startDate</td>
	<td></td>
</tr>
<tr>
	<td>waitForPopUp</td>
	<td>Calendar</td>
	<td>30000</td>
</tr>
<tr>
	<td>click</td>
	<td>//h4[@onclick="javascript:showHideDiv('assessmentSettingsAction:_id89', '/samigo');"]</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>assessmentSettingsAction:_id304</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>authorIndexForm:coreAssessments:0:linkSettings</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>assessmentSettingsAction:_id300</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>publishAssessmentForm:_id35</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>authorIndexForm:coreAssessments:0:linkRemove</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>removeAssessmentForm:_id4</td>
	<td></td>
</tr>
<tr>
	<td>selectFrame</td>
	<td>relative=up</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//img[@alt='Reset']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/ul/li[1]/a/span</td>
	<td></td>
</tr>
<tr>
	<td>verifyTitle</td>
	<td>Sakai Based Service : Discussion 1 SMPL202 Summer 2007 : 主页</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
